package com.yuuzy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(description = "用户注册时传递的数据模型")
@Data
public class UserDTO implements Serializable {

	@ApiModelProperty("用户名")
	private String username;

	@ApiModelProperty("密码")
	private String password;

	@ApiModelProperty("身份 1:教师 2：学生")
	private Integer role;
}
